<?php 
	require_once '../function.php';

	$user = xiu_get_current_user_admin();

	

 ?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>评论</title>
	<link rel="stylesheet" type="text/css" href="/static/vendors/bootstrap4.6/css/bootstrap.css">
	<link rel="stylesheet" type="text/css" href="/static/css/admin.css">
</head>
<body>
	<div class="main">
		<?php include './inc/navbar.php' ?>
		<div class="container-fluid">
			<div class="page-title">
				<h1>所有评论</h1>
			</div>
			<table class="table table-bordered table-hover">
				<thead>
					<tr>
						<th><input type="checkbox"></th>
						<th>作者</th>
						<th>评论</th>
						<th>评论文章</th>
						<th>提交时间</th>
						<th>状态</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<th><input type="checkbox"></th>
						<th>admin</th>
						<th>文章写的不错哟！</th>
						<th>《我的第一篇博客》</th>
						<th>2021/5/25</th>
						<th>待审核</th>
						<th>
							<a href="javascript:;" class="btn btn-success btn-sm">通过</a>
							<a href="javascript:;" class="btn btn-success btn-danger btn-sm">删除</a>
						</th>
					</tr>
					<tr>
						<th><input type="checkbox"></th>
						<th>admin</th>
						<th>这样也挺好的</th>
						<th>《最怕你一生碌碌无为，却又自命不凡...》</th>
						<th>2021/5/26</th>
						<th>待审核</th>
						<th>
							<a href="javascript:;" class="btn btn-success btn-sm">通过</a>
							<a href="javascript:;" class="btn btn-success btn-danger btn-sm">删除</a>
						</th>
					</tr>
				</tbody>
			</table>
		</div>
	</div>

	<?php $current_page = 'comments' ?>
	<?php include './inc/asid.php'; ?>
	<script src="/static/vendors/jQuery.js"></script>
	<script src="/static/vendors/bootstrap4.6/js/bootstrap.js"></script>
</body>
</html>